// import {
//   getAccountList
// } from '@/api/account'
export default {
	state: {
		list: [],
		loading: true,
		pageNo: 1,
		pageSize: 10
	},
	mutations: {
		setList (state, list){
			state.loading = false
			state.list = list
			console.log('state',state.list);
		}
	},
	actions: {
		/*
		getList ({state, commit }) {
      getAccountList(state.pageNo, state.pageSize).then(res => {
				console.log('data--',res)
        commit('setList', res.data.data.result)
      })
		},
		*/
	}
}